/*
 * @Author: zhw 443844039@qq.com
 * @Date: 2025-08-07 21:28:23
 * @LastEditors: zhw 443844039@qq.com
 * @LastEditTime: 2025-08-07 23:12:23
 * @FilePath: \project\lingyuxx-jxjsdad\ruoyi-ui\src\api\teachingIdea\teachingGrades.js
 * @Description: 教学成绩相关API
 */

import request from '@/utils/request'
// 教学成绩List
export function teachingGradesListApi(query) {
  return request({
    url: '/jsjx/studentScore/list',
    method: 'get',
    params: query
  })
};
// 教学成绩ById
export function teachingGradesByIdApi(id) {
  return request({
    url: `/jsjx/studentScore/${id}`,
    method: 'get',
  })
};
// 教学成绩Add
export function teachingGradesAddApi(data) {
  return request({
    url: '/jsjx/studentScore',
    method: 'post',
    data
  })
};
// 教学成绩Edit
export function teachingGradesEditApi(data) {
  return request({
    url: '/jsjx/studentScore',
    method: 'put',
    data
  })
};
// 教学成绩Del
export function teachingGradesDelApi(id) {
  return request({
    url: `/jsjx/studentScore/${id}`,
    method: 'delete',
  })
};

// 学生成绩Import
export function teachingGradesStudentImportApi(data) {
  return request({
    url: '/jsjx/student/importData',
    method: 'post',
    data
  })
};

// 学情成绩Import
export function teachingGradesImportDataApi(data) {
  return request({
    url: '/jsjx//studentScore/importData',
    method: 'post',
    data
  })
};